package com.rxkj.entity.rainwater;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("水位实体类")
public class WaterSt implements Serializable {


    @ApiModelProperty(value = "测站编码")
    private String stcd;

    @ApiModelProperty(value = "宏电rtu测站编码")
    private String termsn;

    @ApiModelProperty(value = "电池电压")
    private Double voltage;

    @ApiModelProperty(value = "通信信号强度")
    private Double signalInten;

    @ApiModelProperty(value = "库上水位,水位")
    private Double rz;

    @ApiModelProperty(value = "水位类型：1相对，2绝对")
    private Integer ztype;

    @ApiModelProperty(value = "入库流量")
    private Double inq;

    @ApiModelProperty(value = "蓄水量")
    private Double w;

    @ApiModelProperty(value = "库下水位")
    private Double blrz;

    @ApiModelProperty(value = "出库流量")
    private Double qtq;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "时间")
    private Date tm;

    @ApiModelProperty(value = "库水特征码")
    private Integer rwchrcd;

    @ApiModelProperty(value = "库水水势")
    private Integer rwptn;

    @ApiModelProperty(value = "入流时段长")
    private Double inqdr;

    @ApiModelProperty(value = "测流方法")
    private Integer msqmt;

    @ApiModelProperty(value = "备注")
    private String mark;

}
